package com.vlong.town.mapper.collection;

import org.apache.ibatis.annotations.Mapper;

import com.vlong.town.entity.collection.Collection;

/**
 * 收藏接口
 */
@Mapper
public interface CollectionMapper {

	/**
	 * 增加收藏接口
	 * @param collection
	 */
	public void addCollection(Collection collection);

	/**
	 * 根据微信id查询收藏
	 * @param wxId
	 * @return Collection
	 */
	public Collection selectByWxId(String wxId);

}
